<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">  
  <title>鲜花详细信息</title>
 </head>
 <body>
 <?php
   require_once('conn.php');
  $id = $_GET['id'];  
  $sql = "select * from flower where zyc_id={$id}";
  $result = @mysql_query($sql);

   $row=@mysql_fetch_array($result); 
 
   $zyc_id = $row['zyc_id'];
   $zyc_title = $row['zyc_title'];
   $zyc_pic = $row['zyc_pic'];  
   $zyc_place = $row['zyc_place'];
   $zyc_intro = $row['zyc_intro'];
   $zyc_adddate = $row['zyc_adddate'];
   $zyc_hint = $row['zyc_hint'];
 
   ?>

<center><h2>鲜花列表</h2></center>
<table align="center" border="1" width=500>

<tr>
  <td width="20%">鲜花编号</td>
  <td width="80%"><?php  echo $id;  ?>
  </td>
</tr>
<tr>
  <td>鲜花标题</td>
  <td><?php  echo $zyc_title;  ?></td>
</tr>
<tr>
  <td width=150>鲜花图片文件名</td>   
  <td>
  <img src="upload/<?php  echo $zyc_pic;  ?>" width="200">
  </td>
</tr>
<tr>
  <td>鲜花产地</td>
  <td><?php  echo $zyc_place;  ?></td>
</tr>
<tr>
  <td>鲜花简介</td>
  <td><?php  echo $zyc_intro;  ?></td>
</tr>
<tr>
  <td>添加鲜花时间</td>
  <td><?php  echo $zyc_adddate;  ?></td>
</tr>
<tr>
  <td>鲜花点击量</td>
  <td><?php  echo $zyc_hint;  ?></td>
</tr>

<tr>
<td width=150></td>
<td>
<input type="submit" value="返回">

</td>
</tr>
</table>
 </body>
</html>